home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / C++ AppleLink Messages / CPlus.Dev$ 1⁄19⁄90 / 0042-Re C++ and the "asm"-Jan90 < prev    next >
Encoding:
Text File  |  1990-01-19  |  953 b   |  32 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  ALCABES      to CPLUS.APPLE$
  2.  
  3. Item    4672643                         17-Jan-90        20:05
  4.  
  5. From:   D4682                           Marx, Peter,PRT
  6.  
  7. To:     D0578                           Shiva,PRT
  8.         CPLUS.DEV$                      C++ Interest List--Developers
  9.  
  10. Sub:    Re: C++ and the "asm" keyword
  11.  
  12. Mark -
  13.  
  14. According to the Apple-provided documentation, the C++ (CFront) doesn't support
  15. embedded asm {} statements. You may remember that the C compiler doesn't
  16. either, and that the CFront generates a C-code stream that is then fed to the
  17. compiler. This means that the limitations in C++ are partially depending upon
  18. the underlying compiler.
  19.  
  20. Apple's solution, such as it is, is to offer the full-fledged MPW Assembler
  21. which produces code that you can then call from C++. This is annoying if you
  22. are used to Think C (as we are), but usable.
  23.  
  24. Hope this helps.
  25.  
  26.  
  27. Peter Marx
  28. UCLA Dept. of Medicine
  29.  
  30. 213/471-2754
  31.  
  32.